/*基本样式*/

body {
    text-align: center; /*设置所有标签的内容水平居中*/
    color: #333333;
}

a {
    text-decoration: none;
}

input, button, img {
    border: none;
    vertical-align: middle;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: normal;
}

li {
    list-style-type: none;
}

/*黑色导航栏start*/
/*left start*/
.black-nav {
    width: 100%;
    height: 40px;
    line-height: 40px;
    background-color: #333333;
    font-size: 12px;
}

.wrap {
    width: 1226px;
    margin: 0 auto;
}

.black-nav-left {
    float: left;
}

.black-nav li {
    float: left;
    position: relative;
}

.black-nav a {
    color: #b0b0b0; /*设置字体颜色用color，而不是font-color*/
    /*字体大小 .black-nav*/
    /*字体垂直居中 .black-nav*/
}

.black-nav a:hover {
    color: #ffffff;
}

.black-nav span {
    margin: 0 6px;
    color: #424242;
}

.download {
    width: 124px;
    height: 150px;
    background-color: white;
    position: absolute; /*不占据父元素位置，就不会撑开父元素 相对于父元素li  position: relative;*/
    /*水平居中对齐*/
    top: 40px;
    left: 50%;
    margin-left: -62px;
    /*阴影*/
    box-shadow: 0 1px 5px rgb(170, 170, 170); /*水平为0，垂直为1 模糊度5px*/
    /*设置内边距*/
    padding: 18px 0 14px;
    /*避免因为内边距撑大盒子*/
    box-sizing: border-box;
    /*隐藏download*/
    display: none;
}

/*鼠标悬停在download上让二维码显示出来*/
.black-nav li:hover > .download { /*有子元素download的li*/
    display: block;
    z-index: 999;
}

.download > img {
    width: 90px;
    height: 90px;
}

.download > p {
    font-size: 14px;
    color: #333333;
    margin-top: 14px;
    line-height: 14px;
}

/*left end*/
/*right start*/
.black-nav-right {
    float: right;
}

.shopping-car {
    width: 120px;
    height: 40px;
    background-color: #424242;
    font-size: 14px;
    /*鼠标小手*/
    cursor: pointer;
    position: relative;
}

.shopping-car:hover {
    background-color: #ffffff;
    /*color: #ff6700;*/ /*shopping-car里面有a标签，而a的字体颜色是不继承的，所以需要单独设置a的悬停样式*/
    z-index: 999;
}

.shopping-car:hover > a {
    color: #ff6700;
}

.cart {
    width: 316px;
    height: 0px;
    /*line-height: 98px;!*垂直居中*!*/
    box-sizing: border-box;
    background-color: #ffffff;
    /*绝对定位，父元素shopping-car相对定位*/
    position: absolute;
    top: 40px;
    right: 0px;
    /*设置阴影*/
    box-shadow: 0 2px 10px rgba(0, 0, 0, .15);
    color: #424242;
    overflow: hidden;
    transition: all 1s;
    /*这里不使用display：none是因为它不能实现过渡效果*/
}

/*实现过渡弹出动画*/
/*
1.将cart高度设置为0,溢出部分隐藏,在设置一下过渡时间
2.悬停时再将高度设置为98px，字体垂直居中
*/
.shopping-car:hover > .cart {
    height: 98px;
    line-height: 98px;
}

/*right end*/
/*黑色导航栏end*/

/*白色导航start*/
.white-nav {
    width: 1903px;
    height: 100px;
    line-height: 100px; /*垂直居中*/
    background-color: white;
    position: relative;
}

.logo {
    float: left;
    width: 55px;
    height: 55px;
    margin-top: 22.5px;
}

.logo2 {
    float: left;
    width: 165px;
    height: 55px;
    margin-top: 22.5px;
    margin-left: 10px;
}

.white-nav ul {
    float: right;
}

.white-nav li {
    float: left;
    /*内容垂直居中*/
}

.white-nav a {
    color: #333333;
    padding: 0 10px;
}

.white-nav a:hover {
    color: #ff6700;
}

.white-nav .box {
    margin-top: 25px;
    margin-left: 25px;
}

.white-nav input {
    width: 245px;
    height: 50px;
    border: 1px solid #e0e0e0;
    /*设置内边距*/
    padding: 0 10px;
    /*避免盒子被撑开*/
    box-sizing: border-box;
    /*去除外边框*/
    outline: none;
    float: left;
    border-right: none;
}

.white-nav input:hover {
    border-color: #b0b0b0; /*悬停边框变色*/
}

.white-nav button {
    width: 52px;
    height: 50px;
    border: 1px solid #e0e0e0;
    background-color: #ffffff;
    outline: none;
    float: left;
    /*设置动态变色*/
    transition: all 0.5s;
}

.white-nav button:hover {
    background-color: #ff6700;
    color: #ffffff;
    cursor: pointer; /*变小手*/
    border-color: #b0b0b0; /*悬停边框变色*/
}

/*非过渡动画*/
.white-nav .nav-select {
    width: 100%;
    height: 229px;
    /*    height: 0px;*/
    border-top: 1px solid #e0e0e0;
    background-color: white;
    /*相对定位 white-nav：position: relative;*/
    position: absolute;
    left: 0;
    top: 100%;
    /*阴影*/
    box-shadow: 0 3px 4px rgba(0, 0, 0, .18);
    display: none;
    /*    !*过渡动画*!
        overflow: hidden;
        transition: all 0.5s;*/

}

.white-nav li:hover > .nav-select {
    display: block;
    /*    height: 229px;*/
    z-index: 999;
}

.nav-select ul {
    float: left;
    margin-left: 350px;
}

.nav-select li {
    width: 204px;
    height: 275px;
    padding: 0 12px;
    box-sizing: border-box;
}

.nav-select img {
    width: 160px;
    margin-top: 25px;

}

.title, .price {
    font-size: 12px;
    height: 20px;
    line-height: 20px;
}

.nav-select .price {
    color: #ff6700;
}

/*白色导航end*/

/*轮播图开始*/
.carousel {
    width: 100%;
    height: 460px;
}

/*.layui-carousel {
    width: 100%;
    height: 460px;
!*!*    background-size: 100%;*!

    width: 978px;
    min-height: 1px;
    float: left;
    height: 340px;*!
}*/

#test2 {
    width: 1266px;
    margin: 0 auto 0 -10px;
    height: 100%;
    background-size: 100%;
    float: left;
    box-sizing: border-box;
}

/*.carousel{
    width: 100%;
    height: 460px;
}
.carousel-box{
    width: 100%;
    height: 460px;
    background-image: url("../../static/images/c1.jpg");
    background-size: 100%;
    -webkit-animation: carousel 15s infinite linear;
}
@-webkit-keyframes carousel {
    0%{
        background-image: url("../../static/images/c1.jpg");
    }
    25%{
        background-image: url("../../static/images/c2.jpg");
    }
    50%{
        background-image: url("../../static/images/c3.jpg");
    }
    75%{
        background-image: url("../../static/images/c4.jpg");
    }
    100%{
        background-image: url("../../static/images/c5.jpg");
    }
}*/

.door {
    width: 234px;
    height: 420px;
    background-color: rgba(0, 0, 0, .6);
    padding: 20px 0;
    float: left;
    position: absolute;
    top: 0;
    left: 0;
}

.door > ul > li {
    height: 42px;
    line-height: 42px;
    text-align: left;
    padding-left: 30px;
}

.door > ul > li > a {
    font-size: 14px;
    color: rgba(255, 255, 255, .6);
}

.door > ul > li > a > i {
    float: right;
    margin-right: 30px;
    color: rgba(255, 255, 255, .6);
    font-size: 14px;
}

.door > ul > li:hover {
    background-color: #ff6700;
}

.door-hidden {
    width: 992px;
    height: 460px;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-left: none;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, .18);
    position: absolute; /*父元素 door*/
    top: 0;
    left: 100%;
    display: none;
}

.door > ul > li:hover > .door-hidden {
    display: block;
}

.door-hidden > ul {
    width: 248px;
    float: left;
}

.door-hidden li {
    margin: 30px 20px;
}

.door-hidden > img {
    width: 40px;
    margin-right: 12px;
}

.door-hidden span {
    font-size: 14px;
    color: #333333;
}

/*轮播图结束*/
/*广告样式开始*/
.ad {
    margin-top: 14px;
    margin-bottom: 26px;
}

.ad-nav {
    width: 234px;
    height: 170px;
    background-color: #5f5750;
    float: left;
    padding: 3px;
    box-sizing: border-box;
}

.ad img {
    float: left;
    width: 316px;
    margin-left: 14.66px;
    transition: all .2s linear;
}

.ad img:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.ad li {
    width: 75.3px;
    float: left;
    padding: 21.5px 0;
}

.ad li:nth-child(2), .ad li:nth-child(5) {
    border-left: 1px solid #665e57;
    border-right: 1px solid #665e57;
}

.ad-nav a {
    color: rgba(255, 255, 255, .7);
}

.ad-nav a:hover {
    color: white;
}

.ad-nav i {
    font-size: 22px;
}

.ad li:nth-child(1), .ad li:nth-child(2), .ad li:nth-child(3) {
    border-bottom: 1px solid #665e57;
}

/*广告样式结束*/
/*小米闪购开始*/
.xmsg {
    margin-top: 20px;
    background-color: rgb(245, 245, 245);
}

.container {
    position: relative;
    width: 1226px;
    margin: 57px auto;
}

.flashsale {
    /*margin-bottom: 22px;*/
    position: relative;
    width: 1226px;
    height: 396px;
    margin: 0 auto 22px auto;
}

.box-hd {
    position: relative;
    height: 58px;
}

.box-hd .title {
    margin: 0;
    font-size: 22px;
    font-weight: 200;
    line-height: 58px;
    color: #333;
}

.box-bd {
    width: 1226px;
    height: 340px;
}

.row {
    margin-left: -14px;
    display: block;
    height: 340px;
}

.flashsale-count {
    border-top-color: #e53935;
    height: 300px;
    padding-top: 39px;
    border-top-width: 1px;
    border-top-style: solid;
    background: #f1eded;
    text-align: center;
    float: left;
    margin-left: 14px;
    min-height: 1px;
    width: 234px;
    height: 300px;
}

.round {
    font-size: 21px;
    color: #ef3a3b;
    padding-top: 15px;
    text-align: center;
    height: 31px;
}

.img {
    margin: 25px auto;
}

.desc {
    color: rgba(0, 0, 0, .54);
    font-size: 15px;
    height: 22px;
}

.countdown {
    width: 168px;
    margin: 28px auto 0;
}

.countdown span {
    width: 46px;
    height: 46px;
    background: #605751;
    color: #fff;
    font-size: 24px;
    line-height: 46px;
    float: left;
}

.countdown i {
    width: 15px;
    float: left;
    height: 46px;
    line-height: 46px;
    color: #605751;
    font-size: 28px;
    font-style: normal;
}

.layui-carousel {
    width: 978px;
    min-height: 1px;
    margin-left: 14px;
    float: left;
    height: 340px;
}

.layui-carousel .mi-list {
    position: relative;
    width: 100%;
    z-index: 1;
    display: flex;
}

.mi-item-1 {
    width: 234px;
    margin-right: 14px;
    border-top-width: 1px;
    border-top-style: solid;
    text-align: center;
    background: #fff;
    transition: all .6s;
    position: relative;
    list-style: none;
    border-top-color: #e53935;
}

.mi-item-1 .mi-waite {
    display: block;
    height: 300px;
    padding-top: 39px;
    position: relative;
    text-decoration: none;
}

.mi-item-1 .mi-waite
.mi-content {
    width: 234px;
    height: 263px;
}

.mi-item-1 .mi-waite
.mi-content .mi-thumb {
    display: block;
    width: 160px;
    height: 166px;
    margin: 0 auto 22px;
}

.mi-item-1 .mi-waite
.mi-content .mi-thumb img {
    width: 160px;
    height: 166px;
}

.mi-item-1 .mi-waite
.mi-content .mi-title {
    margin: 0 20px 3px;
    font-size: 14px;
    font-weight: 400;
    text-overflow: ellipsis;
    color: #212121;
    overflow: hidden;
    white-space: nowrap;
}

.mi-item-1 .mi-waite
.mi-content .mi-desc {
    height: 18px;
    margin: 0 20px 12px;
    font-size: 12px;
    text-overflow: ellipsis;
    color: #b0b0b0;
    overflow: hidden;
    white-space: nowrap;
}

.mi-item-1 .mi-waite
.mi-content .mi-price {
    color: #ff6709;
    margin-block-start: 1em;
    margin-block-end: 1em;
    font-size: 14px;
}

.mi-item-1 .mi-waite
.mi-content .mi-price del {
    color: #b0b0b0;
}

/*小米闪购结束*/
/*横幅1开始*/
.hengfu1 {
    margin-top: -58px;
    background-color: rgb(245, 245, 245);
}

.hf1 {
    margin-top: 20px;
}

/*横幅1结束*/

/*手机开始*/
.phone {
    margin-top: 0px;
    background-color: rgb(245, 245, 245);
}

.phone .top {
    height: 58px;
    line-height: 58px;
    font-size: 22px;
    font-weight: 200;
    color: #333;
}

.top li {
    float: right;
}

.top li:hover {
    color: #ff6700;
    transition: all .5s;
    cursor: pointer;
}

.top p {
    float: left;

}

.phone .body {
    height: 628px
}

.phone .body .phone-left {
    width: 234px;
    height: 614px;
    float: left;
}

.phone .phone-right {
    width: 992px;
    height: 614px;
    float: right;
}

.phone-right .item {
    width: 234px;
    height: 300px;
    float: left;
    background-color: rgb(255, 255, 255);
    margin-left: 13px;
    margin-bottom: 10px;
    transition: all 1s;
}

.phone-right .item .title {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    font-size: 14px;
    font-weight: 400;
    color: #333;
}

.phone-right .item .introduce {
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    margin: 0 10px 10px;
    height: 18px;
    font-size: 12px;
    color: #b0b0b0;
}

.phone-right .item .price {
    margin: 0 10px 14px;
    text-align: center;
    color: #ff6700;
    font-size: 14px;
}

.phone-right .item:hover {
    box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.5);
    /*上下浮动*/
    transition-duration: 800ms;
    transform: translate(0, -10px);
}


/*手机结束*/
/*侧边导航栏开始*/
.side-banner {
    width: 84px;
    height: 516px;
    border: #f0f0f0 1px solid;
    top: 200px;
    right: 0;
    position: fixed;
}

.side-banner li {
    position: relative;
    display: block;
    width: 82px;
    height: 90px;
    margin-top: -1px;
    background-color: #fff;
    border: 1px solid #f5f5f5;
}

.side-banner i {
    display: inline-block;
    position: absolute;
    top: 20px;
    left: 26px;
    font-size: 30px;
}

.side-banner p {
    position: absolute;
    top: 55px;
    left: 18px;
    font-size: 14px;
}

.side-banner li:nth-child(1):hover > .show {
    display: block;
}

.show {
    width: 130px;
    height: 192px;
    background-color: white;
    position: absolute; /*不占据父元素位置，就不会撑开父元素 相对于父元素li  position: relative;*/
    /*水平居中对齐*/
    top: 0;
    right: 100px;
    /*阴影*/
    box-shadow: 0 1px 5px rgb(170, 170, 170); /*水平为0，垂直为1 模糊度5px*/
    /*设置内边距*/
    padding: 18px 0 14px;
    /*避免因为内边距撑大盒子*/
    box-sizing: border-box;
    /*隐藏download*/
    display: none;
    z-index: 999;
}

.show > img {
    width: 90px;
    height: 90px;
}

.font {
    margin: 80px 0 auto;
}

.side-banner li:hover {
    color: #FF6700;
    transition: all .5s;
    cursor: pointer;
}

/*侧边导航栏结束*/